//
//  UserInfo.m
//  HengHuaSupervision
//
//  Created by XD-XY on 3/27/14.
//  Copyright (c) 2014 XD-XY. All rights reserved.
//

#import "UserInfo.h"

@implementation UserInfo
DEFINE_SINGLETON_FOR_CLASS(UserInfo)

-(void)setValueWithDictionary:(NSDictionary * )dic
{
    self.binding_time = [dic valueForKey:@"binding_time"];
    self.project_code = [dic valueForKey:@"project_code"];
    self.project_id = [dic valueForKey:@"project_id"];
    self.scan_device = [dic valueForKey:@"scan_device"];
    self.scan_devicename = [dic valueForKey:@"scan_devicename"];
    self.udid =  [dic valueForKey:@"udid"];
    self.userid = [dic valueForKey:@"userid"];
    self.username = [dic valueForKey:@"username"];
    
}

@end
